package cut;

public class CrossMethod {
    public boolean ifElse(int op) {
        if (op > 18)
            return true;
        else
            return false;
    }
    public boolean crossMethod1 (Student a, int op) {
        Student b = new Student(12, "12", 90);
        if (a.getScore() > b.getScore() && ifElse(op))
            return true;
        else  return false;
    }
}
